//
//  ApiWareHouseID.m
//  ios-supplier
//
//  Created by benlai002 on 16/3/28.
//  Copyright © 2016年 feynmanyuan. All rights reserved.
//

#import "ApiWareHouseID.h"

@implementation ApiWareHouseID

-(instancetype)initWIthUt:(NSString *)ut andWithWarehouseId:(NSInteger)warehouseId andWithLimitClauseCount:(NSInteger)limitClauseCount andWithLimitClauseStart:(NSInteger)limitClauseStart{
    self = [super init];
    _ut = ut;
    _warehouseId = warehouseId;
    _limitClauseCount = limitClauseCount;
    _limitClauseStart = limitClauseStart;
    return self;
}
-(NSString *)requestUrl{
    return @"/opms-api/getSupplierListByWarehouseId.do";
}
-(id)requestArgument{
    return @{@"ut":_ut,
             @"warehouseId":@(_warehouseId),
             @"limitClauseCount":@(_limitClauseCount),
             @"limitClauseStart":@(_limitClauseStart)
             };
}

@end
